import request from '@/utils/request'
export function list(params) {
  return request({
    url: '/admin/company/list',
    method: 'get',
    params: params
  })
}
export function save(data,params) {
  return request({
    url: '/admin/company/save',
    method: 'post',
    data: data,
    params: params
  })
}

export function del(ids) {
  return request({
    url: '/admin/company/del/' + ids,
    method: 'post'
  })
}

export function find(id) {
  return request({
    url: '/admin/company/find/' + id,
    method: 'get'
  })
}

export function update(data) {
  return request({
    url: '/admin/company/update',
    method: 'post',
    data: data
  })
}

// export function excelImport(data) {
//   return request({
//     url: '/admin/company/import',
//     method: 'post',
//     data: data
//   })
// }

